import java.util.Scanner;

public class Zhishu {
    public static void main(String[] args) {

        Scanner input=new Scanner(System.in);
            System.out.println("请输入一个数字");
            int b=input.nextInt();
            int a=2;
            for (a=2;a>=2;a++){
            if ((b % a == 0)){ System.out.println("这个数字不是质数");}
            else System.out.println("这是数字是质数");
            break;


            }



    }
}
